package com.bwie.commodity.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bwie.common.core.annotation.Excel;
import com.bwie.common.core.web.domain.BaseEntity;

/**
 * 属性/参数列表对象 commodity_type_attributes
 * 
 * @author ruoyi
 * @date 2024-11-15
 */
public class CommodityTypeAttributes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 属性名称 */
    @Excel(name = "属性名称")
    private String attributesName;

    /** 商品类型 */
    @Excel(name = "商品类型")
    private Long commodityTypeId;

    /** 分类筛选样式 */
    private Long categoricalFilterStyles;

    /** 能否进行检索 */
    private Long isRetrieval;

    /** 商品属性关联 */
    private Long attributeAssociations;

    /** 属性是否可选 */
    @Excel(name = "属性是否可选")
    private Long idOptional;

    /** 属性值的录入方式 */
    @Excel(name = "属性值的录入方式")
    private Long entryMethod;

    /** 属性值可选值列表 */
    @Excel(name = "属性值可选值列表")
    private String inputList;

    /** 是否支持手动新增 */
    private Long handAddStatus;

    /** 排序属性 */
    @Excel(name = "排序属性")
    private Long sort;

    /** 属性的类型 */
    private Long type;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAttributesName(String attributesName) 
    {
        this.attributesName = attributesName;
    }

    public String getAttributesName() 
    {
        return attributesName;
    }
    public void setCommodityTypeId(Long commodityTypeId) 
    {
        this.commodityTypeId = commodityTypeId;
    }

    public Long getCommodityTypeId() 
    {
        return commodityTypeId;
    }
    public void setCategoricalFilterStyles(Long categoricalFilterStyles) 
    {
        this.categoricalFilterStyles = categoricalFilterStyles;
    }

    public Long getCategoricalFilterStyles() 
    {
        return categoricalFilterStyles;
    }
    public void setIsRetrieval(Long isRetrieval) 
    {
        this.isRetrieval = isRetrieval;
    }

    public Long getIsRetrieval() 
    {
        return isRetrieval;
    }
    public void setAttributeAssociations(Long attributeAssociations) 
    {
        this.attributeAssociations = attributeAssociations;
    }

    public Long getAttributeAssociations() 
    {
        return attributeAssociations;
    }
    public void setIdOptional(Long idOptional) 
    {
        this.idOptional = idOptional;
    }

    public Long getIdOptional() 
    {
        return idOptional;
    }
    public void setEntryMethod(Long entryMethod) 
    {
        this.entryMethod = entryMethod;
    }

    public Long getEntryMethod() 
    {
        return entryMethod;
    }
    public void setInputList(String inputList) 
    {
        this.inputList = inputList;
    }

    public String getInputList() 
    {
        return inputList;
    }
    public void setHandAddStatus(Long handAddStatus) 
    {
        this.handAddStatus = handAddStatus;
    }

    public Long getHandAddStatus() 
    {
        return handAddStatus;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("attributesName", getAttributesName())
            .append("commodityTypeId", getCommodityTypeId())
            .append("categoricalFilterStyles", getCategoricalFilterStyles())
            .append("isRetrieval", getIsRetrieval())
            .append("attributeAssociations", getAttributeAssociations())
            .append("idOptional", getIdOptional())
            .append("entryMethod", getEntryMethod())
            .append("inputList", getInputList())
            .append("handAddStatus", getHandAddStatus())
            .append("sort", getSort())
            .append("type", getType())
            .toString();
    }
}
